package com.gh.cloud.uaa.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: guohao
 * @date: 2021-02-07 14:54
 **/
@Controller
public class IndexController {


    @RequestMapping(value = "/")
    public String index(){
//        return "forward:https://digital.jinmaowy.com/";
        return "forward:index.html";
    }

    @RequestMapping(value = "/test")
    @ResponseBody
    public String test(){
        return "欢迎";
    }
}
